﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using XCode;

namespace NewLife.YWS.Entities
{
    /// <summary>
    /// 液料规格
    /// </summary>
    [Serializable]
    [DataObject]
    [Description("液料规格")]
    [BindTable("Feedliquor", Description = "液料规格", ConnName = "YWS")]
    public partial class Feedliquor
    {
        #region 属性
        private Int32 _ID;
        /// <summary>
        /// 编号
        /// </summary>
        [Description("编号")]
        [DataObjectField(true, true, false, 10)]
        [BindColumn("ID", Description = "编号", DefaultValue = "", Order = 1)]
        public Int32 ID
        {
            get { return _ID; }
            set { if (OnPropertyChange("ID", value)) _ID = value; }
        }

        private Int32 _CustomerID;
        /// <summary>
        /// 客户ID
        /// </summary>
        [Description("客户ID")]
        [DataObjectField(false, false, true, 10)]
        [BindColumn("CustomerID", Description = "客户ID", DefaultValue = "", Order = 2)]
        public Int32 CustomerID
        {
            get { return _CustomerID; }
            set { if (OnPropertyChange("CustomerID", value)) _CustomerID = value; }
        }

        private String _Manufacturer;
        /// <summary>
        /// 制造商
        /// </summary>
        [Description("制造商")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("Manufacturer", Description = "制造商", DefaultValue = "", Order = 3)]
        public String Manufacturer
        {
            get { return _Manufacturer; }
            set { if (OnPropertyChange("Manufacturer", value)) _Manufacturer = value; }
        }

        private String _Tel;
        /// <summary>
        /// 联系电话
        /// </summary>
        [Description("联系电话")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("Tel", Description = "联系电话", DefaultValue = "", Order = 4)]
        public String Tel
        {
            get { return _Tel; }
            set { if (OnPropertyChange("Tel", value)) _Tel = value; }
        }

        private String _Address;
        /// <summary>
        /// 联系地址
        /// </summary>
        [Description("联系地址")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("Address", Description = "联系地址", DefaultValue = "", Order = 5)]
        public String Address
        {
            get { return _Address; }
            set { if (OnPropertyChange("Address", value)) _Address = value; }
        }

        private String _CementGroup;
        /// <summary>
        /// 胶水组别
        /// </summary>
        [Description("胶水组别")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("CementGroup", Description = "胶水组别", DefaultValue = "", Order = 6)]
        public String CementGroup
        {
            get { return _CementGroup; }
            set { if (OnPropertyChange("CementGroup", value)) _CementGroup = value; }
        }

        private String _ProductNo;
        /// <summary>
        /// 产品编号
        /// </summary>
        [Description("产品编号")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("ProductNo", Description = "产品编号", DefaultValue = "", Order = 7)]
        public String ProductNo
        {
            get { return _ProductNo; }
            set { if (OnPropertyChange("ProductNo", value)) _ProductNo = value; }
        }

        private Double _WeightRatio;
        /// <summary>
        /// 重量比
        /// </summary>
        [Description("重量比")]
        [DataObjectField(false, false, true, 10)]
        [BindColumn("WeightRatio", Description = "重量比", DefaultValue = "", Order = 8)]
        public Double WeightRatio
        {
            get { return _WeightRatio; }
            set { if (OnPropertyChange("WeightRatio", value)) _WeightRatio = value; }
        }

        private Double _VolumeRatio;
        /// <summary>
        /// 体积比
        /// </summary>
        [Description("体积比")]
        [DataObjectField(false, false, true, 10)]
        [BindColumn("VolumeRatio", Description = "体积比", DefaultValue = "", Order = 9)]
        public Double VolumeRatio
        {
            get { return _VolumeRatio; }
            set { if (OnPropertyChange("VolumeRatio", value)) _VolumeRatio = value; }
        }

        private String _Viscosity;
        /// <summary>
        /// 黏稠度
        /// </summary>
        [Description("黏稠度")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("Viscosity", Description = "黏稠度", DefaultValue = "", Order = 10)]
        public String Viscosity
        {
            get { return _Viscosity; }
            set { if (OnPropertyChange("Viscosity", value)) _Viscosity = value; }
        }

        private String _MixViscosity;
        /// <summary>
        /// A/B混合后黏稠度
        /// </summary>
        [Description("A/B混合后黏稠度")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("MixViscosity", Description = "A/B混合后黏稠度", DefaultValue = "", Order = 11)]
        public String MixViscosity
        {
            get { return _MixViscosity; }
            set { if (OnPropertyChange("MixViscosity", value)) _MixViscosity = value; }
        }

        private String _SpecificGravity;
        /// <summary>
        /// 比重
        /// </summary>
        [Description("比重")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("SpecificGravity", Description = "比重", DefaultValue = "", Order = 12)]
        public String SpecificGravity
        {
            get { return _SpecificGravity; }
            set { if (OnPropertyChange("SpecificGravity", value)) _SpecificGravity = value; }
        }

        private String _Temperature;
        /// <summary>
        /// 工作温度
        /// </summary>
        [Description("工作温度")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("Temperature", Description = "工作温度", DefaultValue = "", Order = 13)]
        public String Temperature
        {
            get { return _Temperature; }
            set { if (OnPropertyChange("Temperature", value)) _Temperature = value; }
        }

        private String _WViscosity;
        /// <summary>
        /// 工作温度下的黏稠度
        /// </summary>
        [Description("工作温度下的黏稠度")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("WViscosity", Description = "工作温度下的黏稠度", DefaultValue = "", Order = 14)]
        public String WViscosity
        {
            get { return _WViscosity; }
            set { if (OnPropertyChange("WViscosity", value)) _WViscosity = value; }
        }

        private Boolean _IsFillers;
        /// <summary>
        /// 是否有填充剂
        /// </summary>
        [Description("是否有填充剂")]
        [DataObjectField(false, false, true, 1)]
        [BindColumn("IsFillers", Description = "是否有填充剂", DefaultValue = "", Order = 15)]
        public Boolean IsFillers
        {
            get { return _IsFillers; }
            set { if (OnPropertyChange("IsFillers", value)) _IsFillers = value; }
        }

        private String _FillersType;
        /// <summary>
        /// 填充剂类型
        /// </summary>
        [Description("填充剂类型")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("FillersType", Description = "填充剂类型", DefaultValue = "", Order = 16)]
        public String FillersType
        {
            get { return _FillersType; }
            set { if (OnPropertyChange("FillersType", value)) _FillersType = value; }
        }

        private Double _FillersAmount;
        /// <summary>
        /// 填充剂分量
        /// </summary>
        [Description("填充剂分量")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("FillersAmount", Description = "填充剂分量", DefaultValue = "", Order = 17)]
        public Double FillersAmount
        {
            get { return _FillersAmount; }
            set { if (OnPropertyChange("FillersAmount", value)) _FillersAmount = value; }
        }

        private Boolean _IsAbradability;
        /// <summary>
        /// 是否磨损
        /// </summary>
        [Description("是否磨损")]
        [DataObjectField(false, false, true, 1)]
        [BindColumn("IsAbradability", Description = "是否磨损", DefaultValue = "", Order = 18)]
        public Boolean IsAbradability
        {
            get { return _IsAbradability; }
            set { if (OnPropertyChange("IsAbradability", value)) _IsAbradability = value; }
        }

        private Boolean _IsCorrosivity;
        /// <summary>
        /// 是否腐蚀
        /// </summary>
        [Description("是否腐蚀")]
        [DataObjectField(false, false, true, 1)]
        [BindColumn("IsCorrosivity", Description = "是否腐蚀", DefaultValue = "", Order = 19)]
        public Boolean IsCorrosivity
        {
            get { return _IsCorrosivity; }
            set { if (OnPropertyChange("IsCorrosivity", value)) _IsCorrosivity = value; }
        }

        private Boolean _IsSensitivity;
        /// <summary>
        /// 材料是否潮湿敏感
        /// </summary>
        [Description("材料是否潮湿敏感")]
        [DataObjectField(false, false, true, 1)]
        [BindColumn("IsSensitivity", Description = "材料是否潮湿敏感", DefaultValue = "", Order = 20)]
        public Boolean IsSensitivity
        {
            get { return _IsSensitivity; }
            set { if (OnPropertyChange("IsSensitivity", value)) _IsSensitivity = value; }
        }

        private Boolean _IsAgitation;
        /// <summary>
        /// 是否需要搅拌
        /// </summary>
        [Description("是否需要搅拌")]
        [DataObjectField(false, false, true, 1)]
        [BindColumn("IsAgitation", Description = "是否需要搅拌", DefaultValue = "", Order = 21)]
        public Boolean IsAgitation
        {
            get { return _IsAgitation; }
            set { if (OnPropertyChange("IsAgitation", value)) _IsAgitation = value; }
        }

        private Boolean _IsExcept;
        /// <summary>
        /// 是否需要真空初除泡
        /// </summary>
        [Description("是否需要真空初除泡")]
        [DataObjectField(false, false, true, 1)]
        [BindColumn("IsExcept", Description = "是否需要真空初除泡", DefaultValue = "", Order = 22)]
        public Boolean IsExcept
        {
            get { return _IsExcept; }
            set { if (OnPropertyChange("IsExcept", value)) _IsExcept = value; }
        }

        private Int32 _WorkingHours;
        /// <summary>
        /// 材料混合后可工作时间(单位:分钟)
        /// </summary>
        [Description("材料混合后可工作时间(单位:分钟)")]
        [DataObjectField(false, false, true, 10)]
        [BindColumn("WorkingHours", Description = "材料混合后可工作时间(单位:分钟)", DefaultValue = "", Order = 23)]
        public Int32 WorkingHours
        {
            get { return _WorkingHours; }
            set { if (OnPropertyChange("WorkingHours", value)) _WorkingHours = value; }
        }

        private Boolean _IsSolventName;
        /// <summary>
        /// 有无溶剂名称
        /// </summary>
        [Description("有无溶剂名称")]
        [DataObjectField(false, false, true, 1)]
        [BindColumn("IsSolventName", Description = "有无溶剂名称", DefaultValue = "", Order = 24)]
        public Boolean IsSolventName
        {
            get { return _IsSolventName; }
            set { if (OnPropertyChange("IsSolventName", value)) _IsSolventName = value; }
        }

        private String _Hardening;
        /// <summary>
        /// 材料混合后完全硬化时间
        /// </summary>
        [Description("材料混合后完全硬化时间")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("Hardening", Description = "材料混合后完全硬化时间", DefaultValue = "", Order = 25)]
        public String Hardening
        {
            get { return _Hardening; }
            set { if (OnPropertyChange("Hardening", value)) _Hardening = value; }
        }

        private String _CementGroupB;
        /// <summary>
        /// B组胶水组别
        /// </summary>
        [Description("B组胶水组别")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("CementGroupB", Description = "B组胶水组别", DefaultValue = "", Order = 26)]
        public String CementGroupB
        {
            get { return _CementGroupB; }
            set { if (OnPropertyChange("CementGroupB", value)) _CementGroupB = value; }
        }

        private String _ProductNoB;
        /// <summary>
        /// B组产品编号
        /// </summary>
        [Description("B组产品编号")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("ProductNoB", Description = "B组产品编号", DefaultValue = "", Order = 27)]
        public String ProductNoB
        {
            get { return _ProductNoB; }
            set { if (OnPropertyChange("ProductNoB", value)) _ProductNoB = value; }
        }

        private Double _WeightRatioB;
        /// <summary>
        /// B组重量比
        /// </summary>
        [Description("B组重量比")]
        [DataObjectField(false, false, true, 10)]
        [BindColumn("WeightRatioB", Description = "B组重量比", DefaultValue = "", Order = 28)]
        public Double WeightRatioB
        {
            get { return _WeightRatioB; }
            set { if (OnPropertyChange("WeightRatioB", value)) _WeightRatioB = value; }
        }

        private Double _VolumeRatioB;
        /// <summary>
        /// B组体积比
        /// </summary>
        [Description("B组体积比")]
        [DataObjectField(false, false, true, 10)]
        [BindColumn("VolumeRatioB", Description = "B组体积比", DefaultValue = "", Order = 29)]
        public Double VolumeRatioB
        {
            get { return _VolumeRatioB; }
            set { if (OnPropertyChange("VolumeRatioB", value)) _VolumeRatioB = value; }
        }

        private String _ViscosityB;
        /// <summary>
        /// B组黏稠度
        /// </summary>
        [Description("B组黏稠度")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("ViscosityB", Description = "B组黏稠度", DefaultValue = "", Order = 30)]
        public String ViscosityB
        {
            get { return _ViscosityB; }
            set { if (OnPropertyChange("ViscosityB", value)) _ViscosityB = value; }
        }

        private String _MixViscosityB;
        /// <summary>
        /// B组A/B混合后黏稠度
        /// </summary>
        [Description("B组A/B混合后黏稠度")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("MixViscosityB", Description = "B组A/B混合后黏稠度", DefaultValue = "", Order = 31)]
        public String MixViscosityB
        {
            get { return _MixViscosityB; }
            set { if (OnPropertyChange("MixViscosityB", value)) _MixViscosityB = value; }
        }

        private String _SpecificGravityB;
        /// <summary>
        /// B组比重
        /// </summary>
        [Description("B组比重")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("SpecificGravityB", Description = "B组比重", DefaultValue = "", Order = 32)]
        public String SpecificGravityB
        {
            get { return _SpecificGravityB; }
            set { if (OnPropertyChange("SpecificGravityB", value)) _SpecificGravityB = value; }
        }

        private String _TemperatureB;
        /// <summary>
        /// B组工作温度
        /// </summary>
        [Description("B组工作温度")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("TemperatureB", Description = "B组工作温度", DefaultValue = "", Order = 33)]
        public String TemperatureB
        {
            get { return _TemperatureB; }
            set { if (OnPropertyChange("TemperatureB", value)) _TemperatureB = value; }
        }

        private String _WViscosityB;
        /// <summary>
        /// B组工作温度下的黏稠度
        /// </summary>
        [Description("B组工作温度下的黏稠度")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("WViscosityB", Description = "B组工作温度下的黏稠度", DefaultValue = "", Order = 34)]
        public String WViscosityB
        {
            get { return _WViscosityB; }
            set { if (OnPropertyChange("WViscosityB", value)) _WViscosityB = value; }
        }

        private Boolean _IsFillersB;
        /// <summary>
        /// B组是否有填充剂
        /// </summary>
        [Description("B组是否有填充剂")]
        [DataObjectField(false, false, true, 1)]
        [BindColumn("IsFillersB", Description = "B组是否有填充剂", DefaultValue = "", Order = 35)]
        public Boolean IsFillersB
        {
            get { return _IsFillersB; }
            set { if (OnPropertyChange("IsFillersB", value)) _IsFillersB = value; }
        }

        private String _FillersTypeB;
        /// <summary>
        /// B组填充剂类型
        /// </summary>
        [Description("B组填充剂类型")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("FillersTypeB", Description = "B组填充剂类型", DefaultValue = "", Order = 36)]
        public String FillersTypeB
        {
            get { return _FillersTypeB; }
            set { if (OnPropertyChange("FillersTypeB", value)) _FillersTypeB = value; }
        }

        private Double _FillersAmountB;
        /// <summary>
        /// B组填充剂分量
        /// </summary>
        [Description("B组填充剂分量")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("FillersAmountB", Description = "B组填充剂分量", DefaultValue = "", Order = 37)]
        public Double FillersAmountB
        {
            get { return _FillersAmountB; }
            set { if (OnPropertyChange("FillersAmountB", value)) _FillersAmountB = value; }
        }

        private Boolean _IsAbradabilityB;
        /// <summary>
        /// B组是否磨损
        /// </summary>
        [Description("B组是否磨损")]
        [DataObjectField(false, false, true, 1)]
        [BindColumn("IsAbradabilityB", Description = "B组是否磨损", DefaultValue = "", Order = 38)]
        public Boolean IsAbradabilityB
        {
            get { return _IsAbradabilityB; }
            set { if (OnPropertyChange("IsAbradabilityB", value)) _IsAbradabilityB = value; }
        }

        private Boolean _IsCorrosivityB;
        /// <summary>
        /// B组是否腐蚀
        /// </summary>
        [Description("B组是否腐蚀")]
        [DataObjectField(false, false, true, 1)]
        [BindColumn("IsCorrosivityB", Description = "B组是否腐蚀", DefaultValue = "", Order = 39)]
        public Boolean IsCorrosivityB
        {
            get { return _IsCorrosivityB; }
            set { if (OnPropertyChange("IsCorrosivityB", value)) _IsCorrosivityB = value; }
        }

        private Boolean _IsSensitivityB;
        /// <summary>
        /// B组材料是否潮湿敏感
        /// </summary>
        [Description("B组材料是否潮湿敏感")]
        [DataObjectField(false, false, true, 1)]
        [BindColumn("IsSensitivityB", Description = "B组材料是否潮湿敏感", DefaultValue = "", Order = 40)]
        public Boolean IsSensitivityB
        {
            get { return _IsSensitivityB; }
            set { if (OnPropertyChange("IsSensitivityB", value)) _IsSensitivityB = value; }
        }

        private Boolean _IsAgitationB;
        /// <summary>
        /// B组是否需要搅拌
        /// </summary>
        [Description("B组是否需要搅拌")]
        [DataObjectField(false, false, true, 1)]
        [BindColumn("IsAgitationB", Description = "B组是否需要搅拌", DefaultValue = "", Order = 41)]
        public Boolean IsAgitationB
        {
            get { return _IsAgitationB; }
            set { if (OnPropertyChange("IsAgitationB", value)) _IsAgitationB = value; }
        }

        private Boolean _IsExceptB;
        /// <summary>
        /// B组是否需要真空初除泡
        /// </summary>
        [Description("B组是否需要真空初除泡")]
        [DataObjectField(false, false, true, 1)]
        [BindColumn("IsExceptB", Description = "B组是否需要真空初除泡", DefaultValue = "", Order = 42)]
        public Boolean IsExceptB
        {
            get { return _IsExceptB; }
            set { if (OnPropertyChange("IsExceptB", value)) _IsExceptB = value; }
        }

        private Int32 _WorkingHoursB;
        /// <summary>
        /// B组材料混合后可工作时间(单位:分钟)
        /// </summary>
        [Description("B组材料混合后可工作时间(单位:分钟)")]
        [DataObjectField(false, false, true, 10)]
        [BindColumn("WorkingHoursB", Description = "B组材料混合后可工作时间(单位:分钟)", DefaultValue = "", Order = 43)]
        public Int32 WorkingHoursB
        {
            get { return _WorkingHoursB; }
            set { if (OnPropertyChange("WorkingHoursB", value)) _WorkingHoursB = value; }
        }

        private Boolean _IsSolventNameB;
        /// <summary>
        /// B组有无溶剂名称
        /// </summary>
        [Description("B组有无溶剂名称")]
        [DataObjectField(false, false, true, 1)]
        [BindColumn("IsSolventNameB", Description = "B组有无溶剂名称", DefaultValue = "", Order = 44)]
        public Boolean IsSolventNameB
        {
            get { return _IsSolventNameB; }
            set { if (OnPropertyChange("IsSolventNameB", value)) _IsSolventNameB = value; }
        }

        private String _HardeningB;
        /// <summary>
        /// B组材料混合后完全硬化时间
        /// </summary>
        [Description("B组材料混合后完全硬化时间")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("HardeningB", Description = "B组材料混合后完全硬化时间", DefaultValue = "", Order = 45)]
        public String HardeningB
        {
            get { return _HardeningB; }
            set { if (OnPropertyChange("HardeningB", value)) _HardeningB = value; }
        }

        private DateTime _AddTime;
        /// <summary>
        /// 
        /// </summary>
        [Description("")]
        [DataObjectField(false, false, true, 23)]
        [BindColumn("AddTime", Description = "", DefaultValue = "", Order = 46)]
        public DateTime AddTime
        {
            get { return _AddTime; }
            set { if (OnPropertyChange("AddTime", value)) _AddTime = value; }
        }

        private String _Remark;
        /// <summary>
        /// 备注
        /// </summary>
        [Description("备注")]
        [DataObjectField(false, false, true, 100)]
        [BindColumn("Remark", Description = "备注", DefaultValue = "", Order = 47)]
        public String Remark
        {
            get { return _Remark; }
            set { if (OnPropertyChange("Remark", value)) _Remark = value; }
        }
        #endregion

        #region 获取/设置 字段值
        /// <summary>
        /// 获取/设置 字段值。
        /// 一个索引，基类使用反射实现。
        /// 派生实体类可重写该索引，以避免反射带来的性能损耗
        /// </summary>
        /// <param name="name">字段名</param>
        /// <returns></returns>
        public override Object this[String name]
        {
            get
            {
                switch (name)
                {
                    case "ID": return ID;
                    case "CustomerID": return CustomerID;
                    case "Manufacturer": return Manufacturer;
                    case "Tel": return Tel;
                    case "Address": return Address;
                    case "CementGroup": return CementGroup;
                    case "ProductNo": return ProductNo;
                    case "WeightRatio": return WeightRatio;
                    case "VolumeRatio": return VolumeRatio;
                    case "Viscosity": return Viscosity;
                    case "MixViscosity": return MixViscosity;
                    case "SpecificGravity": return SpecificGravity;
                    case "Temperature": return Temperature;
                    case "WViscosity": return WViscosity;
                    case "IsFillers": return IsFillers;
                    case "FillersType": return FillersType;
                    case "FillersAmount": return FillersAmount;
                    case "IsAbradability": return IsAbradability;
                    case "IsCorrosivity": return IsCorrosivity;
                    case "IsSensitivity": return IsSensitivity;
                    case "IsAgitation": return IsAgitation;
                    case "IsExcept": return IsExcept;
                    case "WorkingHours": return WorkingHours;
                    case "IsSolventName": return IsSolventName;
                    case "Hardening": return Hardening;
                    case "CementGroupB": return CementGroupB;
                    case "ProductNoB": return ProductNoB;
                    case "WeightRatioB": return WeightRatioB;
                    case "VolumeRatioB": return VolumeRatioB;
                    case "ViscosityB": return ViscosityB;
                    case "MixViscosityB": return MixViscosityB;
                    case "SpecificGravityB": return SpecificGravityB;
                    case "TemperatureB": return TemperatureB;
                    case "WViscosityB": return WViscosityB;
                    case "IsFillersB": return IsFillersB;
                    case "FillersTypeB": return FillersTypeB;
                    case "FillersAmountB": return FillersAmountB;
                    case "IsAbradabilityB": return IsAbradabilityB;
                    case "IsCorrosivityB": return IsCorrosivityB;
                    case "IsSensitivityB": return IsSensitivityB;
                    case "IsAgitationB": return IsAgitationB;
                    case "IsExceptB": return IsExceptB;
                    case "WorkingHoursB": return WorkingHoursB;
                    case "IsSolventNameB": return IsSolventNameB;
                    case "HardeningB": return HardeningB;
                    case "AddTime": return AddTime;
                    case "Remark": return Remark;
                    default: return base[name];
                }
            }
            set
            {
                switch (name)
                {
                    case "ID": _ID = Convert.ToInt32(value); break;
                    case "CustomerID": _CustomerID = Convert.ToInt32(value); break;
                    case "Manufacturer": _Manufacturer = Convert.ToString(value); break;
                    case "Tel": _Tel = Convert.ToString(value); break;
                    case "Address": _Address = Convert.ToString(value); break;
                    case "CementGroup": _CementGroup = Convert.ToString(value); break;
                    case "ProductNo": _ProductNo = Convert.ToString(value); break;
                    case "WeightRatio": _WeightRatio = Convert.ToDouble(value); break;
                    case "VolumeRatio": _VolumeRatio = Convert.ToDouble(value); break;
                    case "Viscosity": _Viscosity = Convert.ToString(value); break;
                    case "MixViscosity": _MixViscosity = Convert.ToString(value); break;
                    case "SpecificGravity": _SpecificGravity = Convert.ToString(value); break;
                    case "Temperature": _Temperature = Convert.ToString(value); break;
                    case "WViscosity": _WViscosity = Convert.ToString(value); break;
                    case "IsFillers": _IsFillers = Convert.ToBoolean(value); break;
                    case "FillersType": _FillersType = Convert.ToString(value); break;
                    case "FillersAmount": _FillersAmount = Convert.ToDouble(value); break;
                    case "IsAbradability": _IsAbradability = Convert.ToBoolean(value); break;
                    case "IsCorrosivity": _IsCorrosivity = Convert.ToBoolean(value); break;
                    case "IsSensitivity": _IsSensitivity = Convert.ToBoolean(value); break;
                    case "IsAgitation": _IsAgitation = Convert.ToBoolean(value); break;
                    case "IsExcept": _IsExcept = Convert.ToBoolean(value); break;
                    case "WorkingHours": _WorkingHours = Convert.ToInt32(value); break;
                    case "IsSolventName": _IsSolventName = Convert.ToBoolean(value); break;
                    case "Hardening": _Hardening = Convert.ToString(value); break;
                    case "CementGroupB": _CementGroupB = Convert.ToString(value); break;
                    case "ProductNoB": _ProductNoB = Convert.ToString(value); break;
                    case "WeightRatioB": _WeightRatioB = Convert.ToDouble(value); break;
                    case "VolumeRatioB": _VolumeRatioB = Convert.ToDouble(value); break;
                    case "ViscosityB": _ViscosityB = Convert.ToString(value); break;
                    case "MixViscosityB": _MixViscosityB = Convert.ToString(value); break;
                    case "SpecificGravityB": _SpecificGravityB = Convert.ToString(value); break;
                    case "TemperatureB": _TemperatureB = Convert.ToString(value); break;
                    case "WViscosityB": _WViscosityB = Convert.ToString(value); break;
                    case "IsFillersB": _IsFillersB = Convert.ToBoolean(value); break;
                    case "FillersTypeB": _FillersTypeB = Convert.ToString(value); break;
                    case "FillersAmountB": _FillersAmountB = Convert.ToDouble(value); break;
                    case "IsAbradabilityB": _IsAbradabilityB = Convert.ToBoolean(value); break;
                    case "IsCorrosivityB": _IsCorrosivityB = Convert.ToBoolean(value); break;
                    case "IsSensitivityB": _IsSensitivityB = Convert.ToBoolean(value); break;
                    case "IsAgitationB": _IsAgitationB = Convert.ToBoolean(value); break;
                    case "IsExceptB": _IsExceptB = Convert.ToBoolean(value); break;
                    case "WorkingHoursB": _WorkingHoursB = Convert.ToInt32(value); break;
                    case "IsSolventNameB": _IsSolventNameB = Convert.ToBoolean(value); break;
                    case "HardeningB": _HardeningB = Convert.ToString(value); break;
                    case "AddTime": _AddTime = Convert.ToDateTime(value); break;
                    case "Remark": _Remark = Convert.ToString(value); break;
                    default: base[name] = value; break;
                }
            }
        }
        #endregion

        #region 字段名
        /// <summary>
        /// 取得液料规格字段名的快捷方式
        /// </summary>
        public class _
        {
            ///<summary>
            /// 编号
            ///</summary>
            public const String ID = "ID";

            ///<summary>
            /// 客户ID
            ///</summary>
            public const String CustomerID = "CustomerID";

            ///<summary>
            /// 制造商
            ///</summary>
            public const String Manufacturer = "Manufacturer";

            ///<summary>
            /// 联系电话
            ///</summary>
            public const String Tel = "Tel";

            ///<summary>
            /// 联系地址
            ///</summary>
            public const String Address = "Address";

            ///<summary>
            /// 胶水组别
            ///</summary>
            public const String CementGroup = "CementGroup";

            ///<summary>
            /// 产品编号
            ///</summary>
            public const String ProductNo = "ProductNo";

            ///<summary>
            /// 重量比
            ///</summary>
            public const String WeightRatio = "WeightRatio";

            ///<summary>
            /// 体积比
            ///</summary>
            public const String VolumeRatio = "VolumeRatio";

            ///<summary>
            /// 黏稠度
            ///</summary>
            public const String Viscosity = "Viscosity";

            ///<summary>
            /// A/B混合后黏稠度
            ///</summary>
            public const String MixViscosity = "MixViscosity";

            ///<summary>
            /// 比重
            ///</summary>
            public const String SpecificGravity = "SpecificGravity";

            ///<summary>
            /// 工作温度
            ///</summary>
            public const String Temperature = "Temperature";

            ///<summary>
            /// 工作温度下的黏稠度
            ///</summary>
            public const String WViscosity = "WViscosity";

            ///<summary>
            /// 是否有填充剂
            ///</summary>
            public const String IsFillers = "IsFillers";

            ///<summary>
            /// 填充剂类型
            ///</summary>
            public const String FillersType = "FillersType";

            ///<summary>
            /// 填充剂分量
            ///</summary>
            public const String FillersAmount = "FillersAmount";

            ///<summary>
            /// 是否磨损
            ///</summary>
            public const String IsAbradability = "IsAbradability";

            ///<summary>
            /// 是否腐蚀
            ///</summary>
            public const String IsCorrosivity = "IsCorrosivity";

            ///<summary>
            /// 材料是否潮湿敏感
            ///</summary>
            public const String IsSensitivity = "IsSensitivity";

            ///<summary>
            /// 是否需要搅拌
            ///</summary>
            public const String IsAgitation = "IsAgitation";

            ///<summary>
            /// 是否需要真空初除泡
            ///</summary>
            public const String IsExcept = "IsExcept";

            ///<summary>
            /// 材料混合后可工作时间(单位:分钟)
            ///</summary>
            public const String WorkingHours = "WorkingHours";

            ///<summary>
            /// 有无溶剂名称
            ///</summary>
            public const String IsSolventName = "IsSolventName";

            ///<summary>
            /// 材料混合后完全硬化时间
            ///</summary>
            public const String Hardening = "Hardening";

            ///<summary>
            /// B组胶水组别
            ///</summary>
            public const String CementGroupB = "CementGroupB";

            ///<summary>
            /// B组产品编号
            ///</summary>
            public const String ProductNoB = "ProductNoB";

            ///<summary>
            /// B组重量比
            ///</summary>
            public const String WeightRatioB = "WeightRatioB";

            ///<summary>
            /// B组体积比
            ///</summary>
            public const String VolumeRatioB = "VolumeRatioB";

            ///<summary>
            /// B组黏稠度
            ///</summary>
            public const String ViscosityB = "ViscosityB";

            ///<summary>
            /// B组A/B混合后黏稠度
            ///</summary>
            public const String MixViscosityB = "MixViscosityB";

            ///<summary>
            /// B组比重
            ///</summary>
            public const String SpecificGravityB = "SpecificGravityB";

            ///<summary>
            /// B组工作温度
            ///</summary>
            public const String TemperatureB = "TemperatureB";

            ///<summary>
            /// B组工作温度下的黏稠度
            ///</summary>
            public const String WViscosityB = "WViscosityB";

            ///<summary>
            /// B组是否有填充剂
            ///</summary>
            public const String IsFillersB = "IsFillersB";

            ///<summary>
            /// B组填充剂类型
            ///</summary>
            public const String FillersTypeB = "FillersTypeB";

            ///<summary>
            /// B组填充剂分量
            ///</summary>
            public const String FillersAmountB = "FillersAmountB";

            ///<summary>
            /// B组是否磨损
            ///</summary>
            public const String IsAbradabilityB = "IsAbradabilityB";

            ///<summary>
            /// B组是否腐蚀
            ///</summary>
            public const String IsCorrosivityB = "IsCorrosivityB";

            ///<summary>
            /// B组材料是否潮湿敏感
            ///</summary>
            public const String IsSensitivityB = "IsSensitivityB";

            ///<summary>
            /// B组是否需要搅拌
            ///</summary>
            public const String IsAgitationB = "IsAgitationB";

            ///<summary>
            /// B组是否需要真空初除泡
            ///</summary>
            public const String IsExceptB = "IsExceptB";

            ///<summary>
            /// B组材料混合后可工作时间(单位:分钟)
            ///</summary>
            public const String WorkingHoursB = "WorkingHoursB";

            ///<summary>
            /// B组有无溶剂名称
            ///</summary>
            public const String IsSolventNameB = "IsSolventNameB";

            ///<summary>
            /// B组材料混合后完全硬化时间
            ///</summary>
            public const String HardeningB = "HardeningB";

            ///<summary>
            /// 
            ///</summary>
            public const String AddTime = "AddTime";

            ///<summary>
            /// 备注
            ///</summary>
            public const String Remark = "Remark";
        }
        #endregion
    }
}